WPML\Core\Twig\NodeVisitor\OptimizerNodeVisitor A

Total Complexity 62
Dependencies 20
Dependents 1
Total lines 164
Lines of code 115
Logical lines of code 73
Comment lines 25
Methods 11
Properties 5

Methods 11

Method Rating Maintainability Complexity Lines of code
enterOptimizeFor()
B
49 21 23
doLeaveNode()
A
50 12 25
doEnterNode()
A
53 10 19
optimizePrintNode()
S
61 4 11
__construct()
S
69 3 6
optimizeVariables()
S
66 3 7
optimizeRawFilter()
S
68 3 6
leaveOptimizeFor()
S
68 2 7
addLoopToAll()
S
73 2 5
addLoopToCurrent()
S
78 1 3
getPriority()
S
82 1 3